Skip to content

use dmabuf option when the ibperf binaries have them configured#235

Open
ahskabir wants to merge 1 commit into
mainfrom
feature/perf_dmabuf
Open

use dmabuf option when the ibperf binaries have them configured#235
ahskabir wants to merge 1 commit into
mainfrom
feature/perf_dmabuf

Conversation

@ahskabir

Copy link
Copy Markdown
Contributor

Motivation

IBPERF test makes use of the binaries for which path is provided in the configuration file. It also has an option to install the ibperf tool and then to run the test. But during the run-time when it prepares the ibperf invocation command(s) it doesn't use the --use_rocm_dmabuf option and the run could be less performant.

Technical Details

A function is added in the ibperf library. This function check to see whether the ibperf binary was configured with --use_rocm_dmabuf. If yes, it will use the flag for invocation, otherwise not.

Test Plan

All ibperf test was run using ibperf binaries configured with --use_rocm_dmabuf and test passed.
All ibperf test was run using ibperf binaries not configured with --use_rocm_dmabuf and test passed.

Test Result

In both the scenarios, all tests passed.

Submission Checklist

Signed-off-by: Ahsan Kabir <Ahsan.Kabir@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant